import { service } from '../service/request'

//获取设备名称
export async function GetDeviceName() {
    return await service({
        url: "DMS/KSKH/GetDeviceName",
        method: 'post'
    });
}

//获取设备信息
export async function GetDeviceList() {
    return await service({
        url: "DMS/KSKH/GetDeviceList",
        method: 'post'
    });
}

//保存设备信息
export async function SaveDeviceInfo(data) {
    return await service({
        url: "DMS/KSKH/SaveDeviceInfo",
        method: 'post',
        data
    });
}